home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / akitdemo.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  576b  |  23 lines

  1. #include "blkmenu.h"
  2. #include "appkit.h"
  3. /*  This example create 3 menus, first of them could call any other.
  4.     One of menus could be removed not only from screen, but also from system 
  5.     with ALT_F3 command.
  6. */
  7.  
  8. enum { AC_MENU1 = 101, AC_MENU2, AC_MENU3 };
  9.  
  10. class Demo : public ApplicationKit
  11.     {
  12.     protected:
  13.         Window* w;
  14.         BlockMenu* m1;
  15.         BlockMenu* m2;
  16.         BlockMenu* m3;
  17.     public:
  18.     Demo(int num);
  19.     virtual void show();
  20.         virtual int application(int n);
  21.         virtual int active() { return w->active(); }
  22.     };
  23.